package com.yhb.dao;

import com.yhb.model.CpsLevel;
import org.apache.ibatis.annotations.Param;

public interface CpsMapper {
    int store(@Param("level") CpsLevel level);
    int storeFlow(@Param("level") CpsLevel level, @Param("dateString") String dateString);

    CpsLevel get(@Param("userId") String userId);
    CpsLevel getLevelInDate(@Param("userId") String userId, @Param("dateString")String dateString);
}
